package fun.tan90.device.event.model;

import lombok.Getter;

@Getter
public class DeviceSourceData extends DeviceMeta {

    private final String data;

    public DeviceSourceData(String dataSource, String deviceCode, String data) {
        super(dataSource, deviceCode);
        this.data = data;
    }

    public DeviceSourceData(String deviceType, String dataSource, String deviceCode, String data) {
        super(dataSource, deviceCode);
        this.setDeviceType(deviceType);
        this.data = data;
    }
}
